<div class="page-content" >
    <div class="panel panel-default">
    <div class="panel-heading">
         <ul class="breadcrumb"> 
				 
				<li class="active">时间段管理</li>
			</ul>
		</div>	
        <div class="panel-body">
            <div id="toolbar" style="width: 100%;">
                <form id="filter" method="get"  class="form-horizontal">
                    <div class="form-group">
                        <div class="col-sm-3">
                          课程名称： <select name="offline_subject_id" >
							<option value="0">全部</option>
							<volist name="subject_list" id="vo">
							<option <if condition="$vo['subjectid'] eq $offline_subject_id">selected="selected"</if> value="<{$vo.subjectid}>"><{$vo.showname}></option>
							</volist>
							</select>
							
							
                        </div>
							<div class="col-sm-3" style="width:auto">
                            <select name="province_id" class="combox input-medium" target="sectionselect" refurl="<{:U('School/get_ajax_school_sel')}>?province_id={value}" >
							<option value="0">全部省份</option>
							<volist name="province_list" id="vo">
							<option <if condition="$vo['id'] eq $province_id">selected="selected"</if> value="<{$vo.id}>"><{$vo.name}></option>
							</volist>
							</select>
                    
                           <select name="school_id" id="sectionselect" class="combox input-medium" target="school_select" refurl="<{:U('School/get_ajax_classrooms_sel')}>?school_id={value}" >
							<option value="0">全部学校</option>
							<volist name="schools_list" id="vo">
							<option <if condition="$vo['id'] eq $school_id">selected="selected"</if> value="<{$vo.id}>"><{$vo.name}></option>
							</volist>
							</select>
							   <select name="class_id" id="school_select">
							<option value="0">全部班级</option>
							<volist name="classrooms_list" id="vo">
							<option <if condition="$vo['id'] eq $class_id">selected="selected"</if> value="<{$vo.id}>"><{$vo.name}></option>
							</volist>
							</select>
							&nbsp;&nbsp;周几: <select name="week">
							   <option value="">全部</option> 
							   <volist name="week_list" id="vo">
							<option <if condition="$key eq $week">selected="selected"</if> value="<{$key}>"><{$vo}></option></volist>
							  </select>
                        </div>
						 <div class="col-sm-4" style="float:right; width:auto">
                            <input type="submit" class="btn btn-primary pull-right" value="筛选">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-8">
                            <a href="<{:U('School/updateTime')}>" class="btn btn-default">
                                <i class="fa fa-plus"></i>
                                添加
                            </a>
							  
                        </div>
                         
                    </div>
                </form>
            </div>
            <div class="bootstrap-table"> <div class="fixed-table-container" style="padding-bottom: 0px;"> <div class="fixed-table-body"> 
			<table id="data-table" class="table"><thead>
			<tr>
			 
			<th style="" data-field="id"><div class="th-inner sortable both desc">ID</div><div class="fht-cell"></div></th>
			
			<th style="" data-field="created_at"><div class="th-inner ">机房</div><div class="fht-cell"></div></th>
			
			<th style="" data-field="created_at"><div class="th-inner ">课程</div><div class="fht-cell"></div></th>
			<th style="" data-field="name"><div class="th-inner ">星期</div><div class="fht-cell"></div></th> 
			<th style="" data-field="name"><div class="th-inner ">时间段</div><div class="fht-cell"></div></th>
			<th style="" data-field="created_at"><div class="th-inner ">学校</div><div class="fht-cell"></div></th>
			<th style="" data-field="id"><div class="th-inner ">操作</div><div class="fht-cell"></div></th>
			</tr></thead>
			<tbody>
			<volist name="data" id="vo">
			<tr data-index="0">
		 
			<td style=""><{$vo.id}></td>
			
			<td height="36"  valign="middle"><{$vo.class_name}></td>
			<td style=""><{$vo.offline_subject}></td>
			
			<td style=""><{$vo.week_str}></td>
		
			<td style=""><{$vo.lable}></td>
			 <td height="36" align="center" valign="middle"><{$vo.school_name}></td>
			<td style="">
			<a href="<{:U('School/updateTime',array('id'=>$vo['id']))}>" class="btn btn-primary btn-xs">编辑</a>&nbsp;&nbsp;

			 
			</td>
			</tr>
			</volist>
			</tbody></table>
			 </div> 
			  <include file="./Apps/BoxAdmin/View/Ace/Public/pager.html" />
			
			</div></div><div class="clearfix"></div>
        </div>
    </div>
     

   </div>     
 
     
